import 'package:boss/ui/widget/center_title_app_bar.dart';
import 'package:flutter/material.dart';
import 'package:hi_common/hi_common.dart';
import 'package:router/annotation.dart';

import 'widget/table_management_content.dart';
import 'widget/table_management_footer.dart';

@RouterConfig(TableManagementPage.pageName)
class TableManagementPage extends StatefulWidget {
  static const pageName = '/tableManagementPage';

  @override
  _TableManagementPageState createState() => _TableManagementPageState('桌台管理');
}

class _TableManagementPageState extends BaseState<TableManagementPage> {
  _TableManagementPageState(String pageName) : super(pageName);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: CenterTitleAppBar(
        title: '桌台管理',
      ),
      body: TableManagementContent(),
      bottomNavigationBar: TableManagementFooter(),
    );
  }
}
